package com.ruoyi.finance.test.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试对象 rec_test_mh
 * 
 * @author wangmh
 * @date 2023-09-17
 */
public class RecTestMh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long testId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String testNameAs1;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal testNumber;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date testDate;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date testDateTime;

    /** 类型 */
    @Excel(name = "类型")
    private String testType;

    public void setTestId(Long testId) 
    {
        this.testId = testId;
    }

    public Long getTestId() 
    {
        return testId;
    }
    public void setTestNameAs1(String testNameAs1) 
    {
        this.testNameAs1 = testNameAs1;
    }

    public String getTestNameAs1() 
    {
        return testNameAs1;
    }
    public void setTestNumber(BigDecimal testNumber) 
    {
        this.testNumber = testNumber;
    }

    public BigDecimal getTestNumber() 
    {
        return testNumber;
    }
    public void setTestDate(Date testDate) 
    {
        this.testDate = testDate;
    }

    public Date getTestDate() 
    {
        return testDate;
    }
    public void setTestDateTime(Date testDateTime) 
    {
        this.testDateTime = testDateTime;
    }

    public Date getTestDateTime() 
    {
        return testDateTime;
    }
    public void setTestType(String testType) 
    {
        this.testType = testType;
    }

    public String getTestType() 
    {
        return testType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("testId", getTestId())
            .append("testNameAs1", getTestNameAs1())
            .append("testNumber", getTestNumber())
            .append("testDate", getTestDate())
            .append("testDateTime", getTestDateTime())
            .append("testType", getTestType())
            .toString();
    }
}
